AccessControl Web Service
MethodCheckStatus
Description
This method is used to check the current status and expiry of the user's token.
Request (CheckStatus)

In order to check the status of a user in the CoreOne system, the user's current session token is required.

Request Body Parameters

NameDescriptionData Type
token

This is a 40-character hexadecimal string.

This token should have been obtained at the commencement of a session using the Login (Method). It is required for all functional CoreOne web services.
xml:string

Sample Data

Token- a2972e530945e5d9a101894ca52e1e01b934011f
Response (CheckStatus_response)

This will return the time in which the user's current session token will expire. If the user has fully logged into CoreOne and selected a role successfully, the user is authenticated and can utilize all CoreOne Web Services. If the user has failed to log into CoreOne, select a role, their token has expired or been reset an error message will be returned. 

Login (Method) or SelectRole (Method) can be used to validate the user's token.

Response Body Parameters

NameDescriptionData Type
token_expires_atThis is the date and time returned that displays information on when the user's current token will expire. It is in the format YYYY-MM-DD hh:mm:ss.xml:dateTime
Remarks

See Also
All Operations Resource GroupAccessControl Web Service

 

 


© 2014-2018 All Rights Reserved.

Send comments on this topic.